Ext.define("PrjAPLean.view.bcd.paapply.RequestDetailForm", {
    extend: "Ext.panel.Panel",
    requires: ["PrjAPLean.view.bcd.paapply.RequestDetailFormController", "PrjAPLean.view.bcd.paapply.RequestDetailFormModel"],
    title: "Please input application details",
    titleAlign: "center",
    layout: {
        type: "table",
        columns: 6,
        tableAttrs: {
            style: {
                width: '100%'
            }
        }
    },
    controller: "bcd-paapply-requestdetailform",
    viewModel: {
        type: "bcd-paapply-requestdetailform"
    },
    items: [{
        xtype: "label",
        flex: 1,
        text: "Region"
    }, {
        xtype: "combobox",
        flex: 1,
        itemId: "paRegion",
        store: ["1", "2", "3"],
        bind: "{paRegion}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Category"
    }, {
        xtype: "combobox",
        flex: 1,
        itemId: "paCategory",
        store: ["1", "2", "3"],
        bind: "{paCategory}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Function Team"
    }, {
        xtype: "combobox",
        flex: 1,
        itemId: "paRegionFunctionTeam",
        store: ["1", "2", "3"],
        bind: "{paRegionFunctionTeam}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Activity Group"
    }, {
        xtype: "combobox",
        flex: 1,
        itemId: "paActivityGroup",
        store: ["1", "2", "3"],
        bind: "{paActivityGroup}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Project Budget"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paProjectBudget",
        bind: "{paProjectBudget}"
    }]
});